body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: auto;   /* 用于 android4+，或其他设备 */
  -webkit-overflow-scrolling: touch;    /* 用于 ios5+ */  
  font-family: -apple-system,Helvetica,sans-serif,Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  touch-action: pan-y;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}
.mr10 {
  margin-right: 10px;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.ell {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ell2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ib{
  display: inline-block;
}

.animate {
  max-height: 9999px !important;
  -webkit-transition-timing-function: cubic-bezier(0.5, 0, 1, 0);
  transition-timing-function: cubic-bezier(0.5, 0, 1, 0);
  -webkit-transition-delay: .2s;
  transition-delay: .2s;
}

.txt-center{
  text-align: center;
}

.magic-check *,.magic-check *:before,.magic-check *:after{box-sizing: border-box;}
.magic-check{margin-bottom: 5px;}
.magic-check .magic-checkbox,
.magic-check .magic-radio{position: absolute;display: none;}
.magic-radio[disabled],.magic-checkbox[disabled] {cursor: not-allowed; }
.magic-check label{position: relative; display: block; padding-left: 30px; cursor: pointer;max-width: 100%;min-height: 20px;line-height: 22px;}
.magic-check label:hover:before{animation-duration: 0.4s; animation-fill-mode: both; animation-name: magic-check-hover-color;}
.magic-check label:before{position: absolute; top: 0; left: 0; display: inline-block; width: 20px; height: 20px; content: ''; border: 1px solid #c0c0c0;}
.magic-check label:after{position: absolute; display: none; content: '';}
.magic-check .magic-radio[disabled] + label,
.magic-check .magic-checkbox[disabled] + label {cursor: not-allowed; color: #e4e4e4; }
.magic-check .magic-radio[disabled] + label:hover, 
.magic-check .magic-radio[disabled] + label:before, 
.magic-check .magic-radio[disabled] + label:after,
.magic-check .magic-checkbox[disabled] + label:hover,
.magic-check .magic-checkbox[disabled] + label:before,
.magic-check .magic-checkbox[disabled] + label:after {cursor: not-allowed; }
.magic-check .magic-radio[disabled] + label:hover:before,
.magic-check .magic-checkbox[disabled] + label:hover:before {border: 1px solid #e4e4e4; animation-name: none; }
.magic-check .magic-radio[disabled] + label:before,
.magic-check .magic-checkbox[disabled] + label:before {border-color: #e4e4e4; }
.magic-check .magic-radio:checked + label:before,
.magic-check .magic-checkbox:checked + label:before {animation-name: none; }
.magic-check .magic-radio:checked + label:after,
.magic-check .magic-checkbox:checked + label:after {display: block; }
.magic-check .magic-radio + label:before {border-radius: 50%; }
.magic-check .magic-radio + label:after {top: 6px; left: 6px; width: 8px; height: 8px; border-radius: 50%; background: #FF8600; }
.magic-check .magic-radio:checked + label:before {border: 1px solid #FF8600; }
.magic-check .magic-radio:checked[disabled] + label:before {border: 1px solid #c9e2f9; }
.magic-check .magic-radio:checked[disabled] + label:after {background: #c9e2f9; }
.magic-check .magic-checkbox + label:before {border-radius: 3px; }
.magic-check .magic-checkbox + label:after {top: 2px; left: 7px; box-sizing: border-box; width: 6px; height: 12px; transform: rotate(45deg); border-width: 2px; border-style: solid; border-color: #fff; border-top: 0; border-left: 0; }
.magic-check .magic-checkbox:checked + label:before {border: #FF8600; background: #FF8600; }
.magic-check .magic-checkbox:checked[disabled] + label:before {border: #c9e2f9; background: #c9e2f9; }

@keyframes magic-check-hover-color {
  from {border-color: #c0c0c0; }
  to {border-color: #FF8600; } 
}